package com.house.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user")
public class User extends CommonField implements Serializable {

    @TableId("user_id")
    private String userId;

    @TableField("password")
    private String password;


    @TableField("name")
    private String name;
    @TableField("sex")
    private String sex;
    @TableField("phone")
    private String phone;
    @TableField("card")
    private String card;
    @TableField("real_name")
    private String realName;
    @TableField("email")
    private String email;
    @TableField("birthday")
    private String birthday;
    @TableField("openid")
    private String openid;
    @TableField("profile_photo")
    private String profilePhoto;
    @TableField("states")
    private String states;
    @TableField("address")
    private String address;



}
